#pragma once

#include "Containers/ThreadSafePtr.h"
#include "Containers/Map.h"
#include "Containers/Vector.h"

class CPreRenderMesh;
class CWriteInMesh;
class CVulkanMesh;


class CVulkanMeshs
{
public:
    void UpdateMeshs(const TVector<std::shared_ptr<CPreRenderMesh>> &AllMeshData);

    std::shared_ptr<CVulkanMesh> FindVulkanObj(TThreadSafeSharedPtr<CWriteInMesh> Mesh);
protected:
    TMap< TThreadSafeSharedPtr<CWriteInMesh>
        ,std::shared_ptr<CVulkanMesh> > Meshs;

};